<%@ taglib prefix="c" uri="/WEB-INF/tlds/hdiv-c.tld"%>
<%@ taglib prefix="form" uri="/WEB-INF/tlds/hdiv-spring-form-3_0_4.tld"%>
<html>
    <head>        
        <link rel="stylesheet" type="text/css" href="css/tableFilter.css"></link>
        <link rel="stylesheet" type="text/css" href="css/tableFilter.aggregator.css"></link>
        <script type="text/javascript" src="javascript/jquery-packed.js"></script>
        <script type="text/JavaScript" src="javascript/jquery.cookies-packed.js"></script>
        <script type="text/javascript" src="javascript/prototypes-packed.js"></script>
        <script type="text/javascript" src="javascript/json-packed.js"></script>
        <script type="text/javascript" src="javascript/jquery.truemouseout-packed.js"></script>
        <script type="text/javascript" src="javascript/daemachTools-packed.js"></script>
        <script type="text/javascript" src="javascript/jquery.tableFilter.js"></script>
        <script type="text/javascript" src="javascript/jquery.tableFilter.aggregator-packed.js"></script>
        <script type="text/javascript" src="javascript/jquery.tableFilter.columnStyle-packed.js"></script>
        <script src="javascript/jquery.displaytag-ajax-1.2.js" type="text/javascript"></script>
        <script>
        $(document).ready(function(){
            //$("#listMatricesTable").eq(0).tableFilter({imagePath:"images/table_sorted/icons",pageLength:"8",sort:false});
            //$(":input").addClass("fondo_txtbox90");            
            $("#displayTagDiv").displayTagAjax();
        });
    </script>
    </head>
    <c:url value="seleccionarMatriz.html" var="seleccionarMatriz"/>
    <body onload="displayTagAjax();"><form:form modelAttribute="form" name="form" action="#">
            <form:hidden path="accion"/>
            <form:hidden path="cliente"/>
            <table class="its7" id="listMatricesTable">
                <colgroup>
                    <col></col>
                    <col></col>
                    <col></col>
                </colgroup>
                <tr>
                    <th>
                        <input type="checkbox" value="all" id="checkall"/>
                    </th>
                    <th>Matriz</th>
                    <th>Sucursal</th>
                </tr>
                <c:forEach items="${listMatrices}" var="matriz">
                    <tr>
                        <td><input type="checkbox" value="${matriz.codMat}" name="chkbox"/></td>
                        <td>
                            <c:out value="${matriz.desMat}"/>
                        </td>
                        <td>
                            <c:out value="${matriz.desSucursal}"/>
                        </td>
                    </tr>
                </c:forEach>
            </table>
        </form:form></body>
</html>